// Sends data to the PC and restarts program.

/*
 Required includes:	stdint.h
 */

/*
 Copyright 2010 Anthony Oko, Koby Hitchen, Mara Cairo, Shaochen Xu, Tyler Lucas
 
 This file is part of the trajctrl program.
 
 trajctrl is licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 */

#include "closing.h"

void closing(char * data, params, uint8_t disp)
{
	struct msg
	{
		char s01[] = "trajctrl";
		char s02[] = "A 2010 EE Capstone project, from the University of Alberta.";
		char s03[] = "Created by Group 1.";
		char s04[] = "Name:   ";
		char s05[] = "Date:   ";
		char s06[] = "Run#:   ";
		char s07[] = "Bead:   ";
		char s08[] = "Stages: ";
		char s09[] = "Note:   ";
		char s10[] = "Final Displacement: ";
		char s11[] = "Detection Measurements";
		char s12[] = "----------------------";
		char s13[] = "QPD ";
		char s14[] = "Displacement: ";
		char s15[] = "Corrections Taken";
		char s16[] = "-----------------";
		char s17[] = "Correction ";
		char s18[] = "Please save the output to file for further analysis.";
		char s19[] = "Another run? (y/n) ";
		char s20[] = "Restarting.";
		
		char line[] = "-------------------------------------------------------------";
	};
}